package com.baiyang.server.model.system;

import com.baiyang.server.annotation.NotNull;

/**
 * @author XVX - generator
 * @version 1
 */
@NotNull
public class Resource {
	//唯一ID
	@NotNull
	private String id;	
	//关联数据ID
	@NotNull
	private String relationId;	
	//用于区分
	@NotNull
	private String relationType;	
	//文件类型
	@NotNull
	private String type;	
	//文件路径
	@NotNull
	private String path;	
	//创建时间
	private String createTime;	
	//创建人
	@NotNull
	private String createBy;	
	//是否有效：1-有效，0-无效
	private String available = "1";
	//是否删除：1-删除，0-不删除
	private String del = "0";
	
	public String getId(){
		return id;
	}
	public void setId(String id){
		this.id = id;
	}
	public String getRelationId(){
		return relationId;
	}
	public void setRelationId(String relationId){
		this.relationId = relationId;
	}
	public String getRelationType(){
		return relationType;
	}
	public void setRelationType(String relationType){
		this.relationType = relationType;
	}
	public String getType(){
		return type;
	}
	public void setType(String type){
		this.type = type;
	}
	public String getPath(){
		return path;
	}
	public void setPath(String path){
		this.path = path;
	}
	public String getCreateTime(){
		return createTime;
	}
	public void setCreateTime(String createTime){
		this.createTime = createTime;
	}
	public String getCreateBy(){
		return createBy;
	}
	public void setCreateBy(String createBy){
		this.createBy = createBy;
	}
	public String getAvailable(){
		return available;
	}
	public void setAvailable(String available){
		this.available = available;
	}
	public String getDel(){
		return del;
	}
	public void setDel(String del){
		this.del = del;
	}
}
